package cn.iocoder.yudao.module.resource.controller.admin.usertimebalance.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 用户时长余额 Response VO")
@Data
@ExcelIgnoreUnannotated
public class UserTimeBalanceRespVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "3575")
    @ExcelProperty("id")
    private String id;

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "19948")
    @ExcelProperty("用户id")
    private Long userId;

    @Schema(description = "总获得时长(毫秒)", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("总获得时长(毫秒)")
    private Long totalTimeMs;

    @Schema(description = "剩余时长(毫秒)", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("剩余时长(毫秒)")
    private Long remainingTimeMs;

    @Schema(description = "扩展")
    @ExcelProperty("扩展")
    private String extension;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}